<script src="{kb_path}client/jscript/jquery/jquery.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    <!--
    function Validate(form) {
        return true;
    }
    function CommentToogle(toggle) {
        if(toggle) {
            $('#comment_form').toggle();
        }
    }
    //-->
</script>
{user_msg}
<div class="tdSubTitle">
    <div>
        <b><a class="noformat" href="javascript:CommentToogle({toggle_form}); void(0);">{add_comment_msg}</a></b>
    </div>
</div>
<div id="comment_form" style="display: {display_form};">
    <form action="{action_link}" method="post" onsubmit="return Validate(this);">
        <table>
            <tmpl:not_registered>
                <tr class="trForm">
                    <td class="tdFormCaption">{name_msg}:</td>
                    <td><input type="text" name="name" id="name" value="{name}" class="longText" /></td>
                </tr>
                <tr class="trForm">
                    <td class="tdFormCaption">{email_msg}:</td>
                    <td><input type="text" name="email" id="email" value="{email}" class="longText" /></td>
                </tr>
            </tmpl:not_registered>
            <tr class="trForm" valign="top">
                <td valign="top" class="tdFormCaption">
                    {required_sign}  {comment_msg}:
                    <br /><span class="formComment nowrap">({use_bbcode_msg})</span>
                </td>
                <td valign="top">
                    <textarea cols="60" rows="4" name="comment" id="comment">{comment}</textarea>
                </td>
            </tr>
            <tmpl:captcha>
                <tr class="trForm" valign="top">
                    <td class="tdFormCaption"></td>
                    <td><img src="{captcha_src}" alt="code" /></td>
                </tr>
                <tr class="trForm" valign="top">
                    <td valign="top" class="tdFormCaption">{required_sign} {captcha_msg}:</td>
                    <td valign="top">
                        <input type="text" name="captcha" id="captcha" value="" class="longText" />
                        &nbsp;&nbsp;<span class="formComment">{captcha_comment_msg}</span>
                    </td>
                </tr>
            </tmpl:captcha>
            <tr>
                <td></td>
                <td><div><br /></div>
                    <input type="submit" name="submit" id="submit" value="{ok_msg}" class="button" />
                    <tmpl:cancel_btn>
                        <input type="button" value="{cancel_msg}" onclick="location.href='{cancel_link}'" class="button" />
                    </tmpl:cancel_btn>
                </td>
            </tr>
        </table>
    </form>
</div>
<br />